package com.zhzh.sc.demo.proxy.cglib;

import org.springframework.cglib.core.DebuggingClassWriter;

public class MainTest {
    public static void main(String[] args) {
        System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY, "D:\\class");
        SimpleRealSubject simpleRealSubject = ProxyFactory.getProxyInstance2(SimpleRealSubject.class);

        simpleRealSubject.f1("hehehe");
        System.out.println(simpleRealSubject.name);

    }
}
